﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	DeleteRole
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

   <link href="../../Content/Admin/control.css" rel="stylesheet" type="text/css" />
    <form method="post" action="/Role/DeleteRole">
    <%foreach (VgoCardChange.Models.Objects.Role role in (List<VgoCardChange.Models.Objects.Role>)ViewData["listroleid"])
      { %>
     Mã quyền:  <%:role.RoleID %><br />
     Tên quyền: <%:role.RoleName%><br />
        Ghi chú: <%:role.Desciption%><br />
       <%} %>
        </form>
    <%using (Html.BeginForm())
      { %>
      <div class="Control">
    <input type="submit" value="Xóa" class="vdelete" />
    <%:Html.ActionLink("Quay lại", "GetRoles", "Role", new { @class = "vback" })%>
    </div>
    <%} %>
</asp:Content>
